import React from "react";
import frame from '../../../style/frame.less';

class TColGroup extends React.Component {

    constructor(props) {
        super(props);
        this.state = {};
    }

    componentDidMount() {
        this.state.order = ['ds'];
    }

    render() {
        return (
            <colgroup>
                {this.props.title.map((item, index) => {
                    return (
                        <col key={index} width={item.width}/>
                    )
                })}
            </colgroup>
        )
    }
}

export default TColGroup
